package com.itheima.test7;

public class TestFinal {
    public static void main(String[] args) {

    }
}

//加上final后就不能被继承
class A{

}

class B extends A{

}
